package cn.edu.zafu.bigdata.x.zcy_0217;

public class Course_0217 {
    private final int number;
    private final String name;
    private final String teacher;
    private final String place;

    public Course_0217(int number, String name, String teacher, String place) {
        this.number = number;
        this.name = name;
        this.teacher = teacher;
        this.place = place;
    }

    public String show() {
        return "课程编号" + number + "、课程名称" + name + "、任课教师" + teacher + "、上课地点" + place;
    }

    public static void main(String[] args) {
        Course_0217 a = new Course_0217(1, "python", "王老师", "学校");
        Course_0217 b = new Course_0217(2, "math", "张老师", "qq");
        Course_0217 c = new Course_0217(3, "English", "靳老师", "DingTalk");

        System.out.println(a.show());
        System.out.println(b.show());
        System.out.println(c.show());
    }
}
